messages = [
    "我要吃肉",
    "干饭人，干饭魂",
    "今天想偷懒"
]

# 已经发送的信息
sent_message = []


def show_messages(messages):
    while messages:
        message = messages.pop()
        print(message)


def send_message(messages, sent_message):
    while messages:
        message = messages.pop()
        print(message)

        sent_message.append(message)


if __name__ == '__main__':
    print("开始发送消息：")
    send_message(messages, sent_message)

    print(messages)
    print(sent_message)
